package com.sugon.dao;

import com.sugon.entity.DeviceAlarmEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ${comments}Dao
 *
 * @author sugon
 * @date 2022-11-18 11:51:11
 */
public interface DeviceAlarmDao extends BaseDao<DeviceAlarmEntity> {

    /**
     * 自定义列表查询
     *
     * @param deviceType 设备类别
     * @param code       报警代码
     * @return
     */
    List<DeviceAlarmEntity> selectList(@Param("deviceType") String deviceType, @Param("code") String code);

}
